home *** CD-ROM | disk | FTP | other *** search
/ Tech Win 1995 November / CD [TECH_B].bin / tech_b / delphi / trial / disk4 / mdiapp.pak / CHILDWIN.PAS < prev    next >
Encoding:
Pascal/Delphi Source File  |  1995-08-08  |  423 b   |  27 lines

  1. unit Childwin;
  2.  
  3. interface
  4.  
  5. uses WinTypes, WinProcs, Classes, Graphics, Forms, Controls;
  6.  
  7. type
  8.   TMDIChild = class(TForm)
  9.     procedure FormClose(Sender: TObject; var Action: TCloseAction);
  10.   private
  11.     { Private 宣言 }
  12.   public
  13.     { Public 宣言 }
  14.   end;
  15.  
  16. implementation
  17.  
  18. {$R *.DFM}
  19.  
  20.  
  21. procedure TMDIChild.FormClose(Sender: TObject; var Action: TCloseAction);
  22. begin
  23.   Action := caFree;
  24. end;
  25.  
  26. end.
  27.